package com.ktwlsoft.archivemanage.payload.security;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

@Getter
@Setter
public class ArchiveUnitResponse {

    @ApiModelProperty("id")
    private Long id;

    /**
     * 单位
     **/
    @ApiModelProperty("单位")
    @Size(max = 30, message = "单位参数超长")
    private String unitName;

    /**
     * 单位性质
     **/
    @ApiModelProperty("单位性质")
    @Size(max = 30, message = "单位性质参数超长")
    private String unitNature;

    /**
     * 单位电话
     **/
    @ApiModelProperty("单位电话")
    @Size(max = 30, message = "单位电话参数超长")
    private String unitTele;

    /**
     * 单位图片
     **/
    @ApiModelProperty("单位图片")
    @Size(max = 100, message = "单位图片参数超长")
    private String unitImg;

    /**
     * 账号(小程序)
     **/
    @ApiModelProperty("账号(小程序)")
    @Size(max = 30, message = "账号(小程序)参数超长")
    private String account;

    /**
     * 地址
     **/
    @ApiModelProperty("地址")
    @Size(max = 50, message = "地址参数超长")
    private String address;

    /**
     * 单位证件(ORGANIZE_CODE(组织机构代码), BUSINESS_LISENCE(营业执照))
     **/
    @ApiModelProperty("单位证件(ORGANIZE_CODE(组织机构代码), BUSINESS_LISENCE(营业执照))")
    @Size(max = 30, message = "单位证件(ORGANIZE_CODE(组织机构代码), BUSINESS_LISENCE(营业执照))参数超长")
    private String unitIdentityType;

    /**
     * 单位证件号
     **/
    @ApiModelProperty("单位证件号")
    @Size(max = 50, message = "单位证件号参数超长")
    private String unitIdentityNum;

    /**
     * 备注
     **/
    @ApiModelProperty("备注")
    @Size(max = 100, message = "备注参数超长")
    private String remark;

    @ApiModelProperty("档案员")
    private String recorder;

    @ApiModelProperty("档案员Id")
    private Long recorderId;

    @ApiModelProperty("档案员电话")
    private String recorderTele;

    @ApiModelProperty("档案员头像")
    private String profile;

    @ApiModelProperty("档案员性别")
    private Boolean recorderSex;

    /**
     * 单位证件图片
     **/
    @ApiModelProperty("单位证件图片")
    @Size(max = 50, message = "单位证件图片")
    private String identityImg;
}
